PGetBasedOn

Gets the name of the style on which the current style is based.


Query results

The query returns a C string containing the name of style on which current style is based.
Defining or editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the style on which that style is based rather than the Based On style for the selected text.

PageMaker returns an empty string if:

To change the style on which the current style is based, use the PBasedOn command class.

PGetBasedOn basedOn;
if ((const char *) basedOn[0] != '\0')
cout << (const char *) basedOn;


See also

The PGetNextStyle, PGetStyle, and PGetStyleNames queries



Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support